.zh {
  background: #FFFFFF;
  #main-wrapper.with-footer {
    padding-bottom: 2.5em;
  }
  #main-wrapper {
    height: 100%;
    position: relative;
    width: 100%;
    max-width: 640px;
    min-width: 320px;
    margin: 0 auto;
  }

  #header {
    background-color: #fff;
    color: #ce9ff0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .2rem .2rem;
    .left .go-back {
      background: url("../images/back_arrow.png") no-repeat;
      display: block;
      height: 1.5rem;
      background-size: 100% 100%;
      text-indent: -999999px;
      overflow: hidden;
      position: relative;
    }
    .center #page-title {
      font-size: 1.05rem;
      margin: 0;
    }
    .center {
      float: left;
      width: 80%;
      text-align: center;
      line-height: 1.5rem;
    }
    #zhhdisplay.dropdown-menu-wrapper.zhhdisplay{
        display: block;
    }
    .right {
      .icon-menu {
        display: block;
        height: 2rem;
        width: 2rem;
        background-image: url("../images/home_icon_1.png");
        background-size: 100% 100%;
        text-indent: -999999px;
        overflow: hidden;
        position: relative;
      }
      .links-toggle-button{
        background-image: url(../images/menu_icon.png);
      }

      .dropdown-menu-wrapper{
        display: none;
        z-index: 999;
        background-color: rgba(206, 159, 240, 0.8);
        border-radius: 0.25em;
        position: fixed;
        top: 3rem;
        width: 5rem;
        padding: 0.5em;
        left: 14rem;
        .up-arrow{
          position: absolute;
          right: 0.5em;
          top: -0.425em;
          width: 0.55em;
          height: 0.425em;
          background: url(../images/up_arrow_1.png) center center no-repeat;
          background-size: 100% 100%;
        }
        .dropdown-menus{
          list-style: none;
          //padding: 10px 5px ;
          padding: 0;
          margin: 0;
          li {
            padding-left: 1rem;
            line-height: 1.7rem;

            a{
              font-size: 1rem;
              color: #ffffff;
              display: block;
              text-align: center;
              padding-top: 0.2rem;
            }
          }

          .homes{
            background: url(../images/home_icon.png) left center no-repeat;
            background-size: 1.2rem 1.2rem;
          }

        }
      }
     .shopping-cart {
        background-image: url(../images/cart_icon.png);
      }

    }
  }
  #main-content {
    .product-detail {
      padding: .7rem;
      color: #634932;
      p {
        font-size: 0.45rem;
        margin: .4rem 0;
        img {
          width: 100% !important;
          height: auto !important;
        }
      }
      .margin-top {
        margin-top: 1rem;
      }
    }
    .collects{
      .collects-list {
        padding: 0.5rem;
        .clearfix {
          display: block;
        }
        .collects-product {
          border-bottom: 1px solid #e8e8e8;
          padding-bottom: 0.5rem;
          margin-bottom: 0.5rem;
          .left {
            float: left;
            width: 4.5rem;
            height: 4.5rem;
            margin-right: 0.5rem;
            border: 1px solid #cacaca;
              img {
                width: 100%;
                height: 100%;
              }
          }
          .center {
            float: left;
            width: 11rem;
            margin-top: .3rem;
           .prod-title a {
             color: #999999;
             font-size: .82rem;
             display: block;
            }
            .prod-sale-price span {
              color: #ce9ff0;
              font-size: .8rem;
            }
          }
        .right {
            float: right;
            width: 1.25rem;
          .delete-collect {
            text-indent: -999999px;
            overflow: hidden;
            position: relative;
            float: right;
            display: block;
            width: 1.1rem;
            height: 1.3rem;
            background: url(../images/delete_addr_icon.png) center center no-repeat;
            background-size: 100% 100%;
          }
          }
        }
      }
    }
  }

  .product-base-info {
    background-color: #ffffff;
    padding: .5rem;
    border-bottom: 1px solid #ccbaae;
    margin-bottom: .3rem;
    .top.clearfix {
      padding-bottom: .15rem;
      .prod-name {
        float: left;
        width: 77%;
        min-height: 3.4rem;
        position: relative;
        overflow: hidden;
        line-height: 1.4rem;
        a {
          color: #3f3f3f;
          font-size: .9rem;
        }
      }
      .prod-border {
        float: left;
        border-right: 1px solid #e8e8e8;
        position: relative;
        top: .2rem;
        left: .5rem;
        height: 1.75rem;
      }
      .collect-button {
        float: right;
        width: 20%;
        text-align: center;
        color: #666;
        .collect-icon {
          display: block;
          height: 1.2rem;
          width: 1.2rem;
          margin: 0px auto .125rem;
          background: url(../images/comment_star.png) right top no-repeat;
          background-size: 2.85rem 1.2rem;
        }
        .collect-text {
          font-size: .6rem;
          position: relative;
          .collected {
            display: none;
          }
        }
      }
      .collect-button-ss {
        float: right;
        width: 20%;
        text-align: center;
        color: #666;
        .collect-icon {
          display: block;
          height: 1.2rem;
          width: 1.4rem;
          margin: 0px auto .125rem;
          background-image: url(../images/collect_icon.png);
          background-size: 2.85rem 1.2rem;
        }
        .collect-text {
          font-size: .6rem;
          position: relative;
          .collected {
          }
        }
      }
    }
    .middle {
      border-bottom: 1px solid #eee0d7;
      margin-bottom: .5rem;
      .prod-sale-price span {
        color: #ce9ff0;
        font-size: 1.1rem;
      }
      .par-price-wrapper {
        font-size: .6rem;
        color: #999;
        display: flex;
        .prod-border {
          border-right: 1px solid #e8e8e8;
          height: .8rem;
          position: relative;
          top: .15rem;
          margin-right: .25rem;
        }
        .prod-par-price {
          span {
            margin-right: 0.5rem;
            text-decoration: line-through;
          }
        }
      }
      .express-price {
        padding-bottom: .25rem;
        color: #999;
        font-size: .7rem;
        line-height: 1.3rem;
      }
    }
    .select-attributes {
      margin: 0.5rem 0;
      background: url(../images/right_arrow.png) right center no-repeat;
      background-size: 0.7rem 0.9rem;
      span {
        font-size: 1rem;
        display: block;
        color: #3f3f3f;
      }
    }
    .more-detail {
      border-top: 1px solid #eee0d7;
      padding-top: 0.25rem;
      a {
        color: #999999;
        font-size: .9rem;
        display: block;
        text-align: center;
      }
    }

  }
  .product-comments {
    padding: 0.5rem;
    border-bottom: 1px solid #ccbaae;
    margin-bottom: 0.5rem;
    .comments-info {
      border-bottom: 1px solid #eee0d7;
      padding-bottom: 0.25rem;
      margin-bottom: 0.25rem;
      overflow: hidden;
      .comments-count {
        color: #3f3f3f;
        float: left;
        font-size: 1rem;
      }
      .comments-avg-start {
        float: right;

        .five-star {
          list-style: none;
          li {
            width: 1.1rem;
            height: 1.2rem;
            float: left;
            margin-left: .11rem;
            background: url(../images/comment_star.png) right center no-repeat;
            background-size: 2.025rem 1.2rem;
          }
        }
      }
    }
    .comments-view-more {
      //float: left;
      width: 100%;
      text-align: center;
      a {
        color: #999999;
        font-size: 0.6rem;
      }
    }

  }
  #footer {
    background: #FFFFFF;
    height: 3.2rem;
    width: 100%;
    max-width: 640px;
    position: fixed;
    margin: 0 auto;
    z-index: 111;
    bottom: 0;
    left:0;
    //left: 50%;
    //margin-left: -35%;
    border-top: 1px solid #cebcb0;
    table {
      width: 100%;
      max-width: 100%;
      td {
        vertical-align: middle;
        text-align: left;
        font-weight: normal;
      }
    }
  }

  .add-to-cart {
    height: 100%;
    td:last-child{
      display: none;
    }
    .shopping-cart-base {
      width: 3rem;
      padding: 0.45rem 0;
      display: block;
      margin: 0.4rem 0;
      background: url(../images/shopping_cart.png) center center no-repeat;
      background-size: 1.4rem 1.4rem;
      position: relative;
      .cart-prod-num {
        font-size: 0.75em;
        background-color: #bc809e;
        color: #fff;
        display: block;
        width: 1rem;
        height: 1rem;
        position: relative;
        left: 1.7rem;
        top: -0.5rem;
        text-align: center;
        border-radius: 1rem;
        span {
          font-size: 0.5rem;
          line-height: 1.2rem;
          display: block;

        }
      }
    }
    .add-to-cart-button {
      background-color: #dba1d4;
      padding: 0.4rem 0;
      min-width: 1rem;
      width: 5.5rem;
      height: 2.2rem;
      border-radius: 0.25rem;
      display: block;
      text-align: center;
      position: relative;
      left: 1.4rem;
      span {
        font-size: 1rem;
        color: #fff;
      }
    }
    .buy-button {
      background-color: #bc809e;
      padding: 0.4rem 0;
      min-width: 1rem;
      width: 5.5rem;
      height: 2.2rem;
      border-radius: 0.25rem;
      display: block;
      text-align: center;
      position: relative;
      left: 1.4rem;
      span {
        font-size: 1rem;
        color: #fff;
      }
    }
  }

  .selecting{
    height: 100%;
    td:nth-child(1){
        display: none;
      }
    td:nth-child(2){
      display: none;
    }
    td:nth-child(3){
      display: none;
    }
    td:last-child{
      display:block;
    }
    .submit-button {
      background-color: #bc809e;
      width: 97%;
      padding: 0.4rem 0;
      min-width: 1rem;
      height: 2.2rem;
      border-radius: 0.25rem;
      display: block;
      text-align: center;
      position: relative;
      left: 0.3rem;
      top: 0.9rem;
      span {
        font-size: 1rem;
        color: #fff;
      }
    }
  }


  .product-attr-select-form-bg.showing{
    left:0;
    #product-attr-select-form-wrapper{
      bottom: 2.4rem;
      -webkit-transition: all 0.7s;
      transition: all 0.7s;
    }
  }
  .product-attr-select-form-bg {
    position: fixed;
    float: left;
    top: 0;
    left: 999999px;
    width: 100% !important;
    height: 100% !important;
    background: url(../images/grey_bg.png) 0 0 repeat;
    z-index: 10;
    #product-attr-select-form-wrapper{
      position: absolute;
      z-index: 99;
      bottom: -50em;
      width: 100%;
      max-width: 640px;
      left: 0;
      //left: 50%;
      //margin-left: -35%;
      background-color: #fff;
      padding: 0.5rem;
      .product-base-info{
        background-color: #ffffff;
         padding: 0;
        left: 0;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #e8e8e8;
        #close-form-button{
          float: right;
          width:1.5rem;
          height: 1.5rem;
          background: url(../images/close_icon.png) center center no-repeat;
          background-size: 1.4rem 1.4rem;
          text-indent: -999999px;
          overflow: hidden;
          position: relative;
        }
        .prod-img{
          img{
            float: left;
            width: 3.1rem;
            height: 3.1rem;
            margin-right: 0.5rem;
          }
        }
        .prod-price{
          float: left;
          width: 10rem;
          #sale-price{
              font-size: .8rem;
            color: #ce9ff0;
              padding-right: 0.25rem;
          }
          .prod-stock{
            color: #999999;
          }

        }
        .prod-selected-attr{
          float: left;
          width: 10rem;
          color: #999999;
        }
      }
    }
    #product-attributes{
      overflow: auto;
      height: 175px;
      .attribute{
        padding: 0.5rem 0;
        border-bottom: 1px solid #e8e8e8;
        .attr-name{
          font-size: .9rem;
          color: #999999;
        }
        .selected{
          background-color: #ce9ff0;
              color: #ffffff;
        }
        .attr-list{
          ul{
            list-style: none;
          li{
            float: left;
            text-align: center;
            min-width: 3rem;
            padding: 0px 0.375rem;
            height: 1.7rem;
            line-height: 1.7rem;
            margin: 0.5rem 0.5rem 0.5rem 0;
            border: 1px solid #e8e8e8;
            span{
              font-size: .7rem;
              display: block;
            }
          }
          }

        }

      }

      #product-buy-count{
        padding: 0.5em 0;
        label{
          font-size: .9rem;
          color: #999999;
        }
        .buy-count-form{
          position: relative;
          height: 1.5rem;
          left: 2.8rem;
          bottom: 1.4rem;
          input{
            font-size: 0.625em;
            width: 3.1rem;
            height: 1.8rem;
            color: #816750;
            padding: 0;
            border: 1px solid #d4c7bb;
            display: block;
            text-align: center;
            position: absolute;
            left: 3.5rem;
            border-radius: 0;
            box-shadow: none;
          }
          span{
            font-size: 1.25rem;
            width: 3rem;
            height: 1.8rem;
            line-height: 1.2rem;
            border: 1px solid #d4c7bb;
            display: block;
            text-align: center;
            position: absolute;

          }
          .sub{
            left: 0;
            line-height: 1rem;
            background-color: #f4f4f4;
          }
          .plus{
            background-color: #bc809e;
            color: #ffffff;
            left: 7rem;
          }
        }

      }
    }
  }
  }








